﻿namespace HDW_Migrate.Db.Entities;

/// <summary>
/// 检查项目
/// </summary>
public class CheckItem : BaseEntity
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 编码
    /// </summary>
    public string Code { get; set; }
    /// <summary>
    /// 胶片数量
    /// </summary>
    public int FilmAmount { get; set; }
    /// <summary>
    /// 造影剂
    /// </summary>
    public string ContrastName { get; set; }
    /// <summary>
    /// 造影剂剂量
    /// </summary>
    public int ContrastDose { get; set; }
    /// <summary>
    /// 图像数量
    /// </summary>
    public int ImageAmount { get; set; }
    /// <summary>
    /// 标准编码
    /// </summary>
    public string CodeStd { get; set; }
    /// <summary>
    /// 标准名称
    /// </summary>
    public string NameStd { get; set; }
    /// <summary>
    /// 曝光次数
    /// </summary>
    public int ExposalAmount { get; set; }
    /// <summary>
    /// 总费用
    /// </summary>
    public double Fee { get; set; }
    /// <summary>
    /// 胶片费用
    /// </summary>
    public double FilmFee { get; set; }
    /// <summary>
    /// 检查费用
    /// </summary>
    public double CheckFee { get; set; }
    /// <summary>
    /// 材料费用
    /// </summary>
    public double MaterialFee { get; set; }
    /// <summary>
    /// 助记码
    /// </summary>
    public string MnemonicCode { get; set; }
    /// <summary>
    /// 检查时长 (分钟)
    /// </summary>
    public int? TimeCount { get; set; }
    /// <summary>
    /// 胶片规格Id
    /// </summary>
    public Guid? FilmSpecId { get; set; }
    /// <summary>
    /// 设备类型Id
    /// </summary>
    public Guid? ModalityId { get; set; }
    /// <summary>
    /// 检查类型Id
    /// </summary>
    public Guid? CheckTypeId { get; set; }
    /// <summary>
    /// 是否三维重建
    /// </summary>
    public bool Is3DReconstruction { get; set; }
    /// <summary>
    /// 英文名称(供不支持中文字符的设备使用)
    /// </summary>
    public string NameInEnglish { get; set; }
    /// <summary>
    /// 部位Id
    /// </summary>
    public Guid BodyPartId { get; set; }
}

/// <summary>
/// 检查类型
/// </summary>
public class CheckType : BaseEntity
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 编码
    /// </summary>
    public string Code { get; set; }
    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; }
    /// <summary>
    /// 排序值
    /// </summary>
    public int Sort { get; set; }
    /// <summary>
    /// 设备Id
    /// </summary>
    public Guid ModalityId { get; set; }
}

/// <summary>
/// 胶片规格
/// </summary>
public class FilmSpec : BaseEntity
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 编码
    /// </summary>
    public string Code { get; set; }
    /// <summary>
    /// 费用
    /// </summary>
    public double Fee { get; set; }
    /// <summary>
    /// 最后更新时间
    /// </summary>
    public DateTime LastUpdateDateTime { get; set; }
}